#bin/bash
#打印GPU信息
nvidia-smi

ttime=`date +"%Y-%m-%d %H:%M:%S"`

echo "begin process data " + $ttime
cd /code/process_data
PYTHONPATH=/ python process_data.py

echo "begin build_vocab " + $ttime
cd /code/build_vocab
PYTHONPATH=/ python build_vocab.py


# echo "begin pretrain code " + $ttime
# cd /code/pretrain_code
# PYTHONPATH=/ python run_pretrain.py

echo "begin finetune code " + $ttime
cd /code/finetune_code
PYTHONPATH=/ python run_classify.py

echo "begin predict code " + $ttime
cd /code/predict_code
PYTHONPATH=/ python run_predictor.py

echo "begin fusion code " + $ttime
cd /code/fusion_code
PYTHONPATH=/ python run_fusion.py


